﻿using FluentNHibernate.Automapping;
using FluentNHibernate.Automapping.Alterations;
using ZenMoney.Core.Entities;

namespace ZenMoney.Core.DataAccess.Mappings.Overrides
{
	public class TransactionOverride : IAutoMappingOverride<Transaction>
	{
		public void Override(AutoMapping<Transaction> mapping)
		{
			mapping.Map(x => x.Comment).Nullable();
		}
	}
}
